# Contributor: Andrea Scarpino <bash.lnx@gmail.com>

pkgname=xhtml-docs
pkgver=1.0
pkgrel=2
pkgdesc="SGML DTD and documentation for XHTML 1.0."
arch=('any')
url="http://www.w3.org/TR/xhtml1"
license=('GPL')
options=('docs')
source=(http://www.w3.org/TR/2002/REC-xhtml1-20020801/xhtml1.tgz profile.sh)
md5sums=('1fdad567eecb5deb8e32e3892cfe0074' '51e3efd25a2cf8e812e296df164d9cc1')

build(){
  cd "$srcdir/xhtml1-20020801"
  mkdir -p "$pkgdir/usr/share/doc/xhtml"
  cp -rf * "$pkgdir/usr/share/doc/xhtml" || return 1
  install -D -m 555 "$srcdir/profile.sh" "$pkgdir/etc/profile.d/xhtml-dtd.sh"
}
